var tests = ["test_logger_shouldReturnObject"];

var test_logger_shouldReturnObject = function() {
    var value = {
        message: "hello world",
        counter: 12345,
        dummyObject: {
            message: "hello world",
            counter: 12345,
            dummyArray: ['a', 'b', 'c', 'd', 'e']
        },
        dummyArray: ['a', 'b', 'c', 'd', 'e']
    };
    var log = tenez.Logger.log(value);

    assertEqual("hello world", log.value.message);
    assertEqual(12345, log.value.counter);
    assertEqual(5, log.value.dummyArray.length);
    assertEqual('b', log.value.dummyArray[1]);

    assertEqual("hello world", log.value.dummyObject.message);
    assertEqual(12345, log.value.dummyObject.counter);
    assertEqual(5, log.value.dummyObject.dummyArray.length);
    assertEqual('c', log.value.dummyObject.dummyArray[2]);
};